#include <ISound.h>
Public Methods | |
virtual bool | Init ()=0 |
virtual void | Term ()=0 |
virtual bool | IsInitialized ()=0 |
virtual bool | LoadScript (std::string sFileName)=0 |
virtual bool | RemoveAll ()=0 |
virtual bool | GetSound (std::string sSoundName, ISound *&pSound)=0 |
virtual bool | GetSoundInit (std::string sSoundName, SoundInit &init)=0 |
virtual bool | ReleaseSound (std::string sSoundName, ISound *pSound)=0 |
virtual bool | IsSoundRegistered (std::string sSoundName)=0 |
virtual void | ResetSoundItr ()=0 |
virtual bool | GetNextSound (std::string &sSoundName)=0 |
virtual bool | RemoveSound (std::string sSoundName)=0 |
virtual bool | RemoveAllSounds ()=0 |
virtual bool | GetSound3D (std::string sSound3DName, ISound3D *&pSound3D)=0 |
virtual bool | GetSound3DInit (std::string sSound3DName, Sound3DInit &init)=0 |
virtual bool | ReleaseSound3D (std::string sSound3DName, ISound3D *pSound3D)=0 |
virtual bool | IsSound3DRegistered (std::string sSound3DName)=0 |
virtual void | ResetSound3DItr ()=0 |
virtual bool | GetNextSound3D (std::string &sSound3DName)=0 |
virtual bool | RemoveSound3D (std::string sSound3DName)=0 |
virtual bool | RemoveAllSounds3D ()=0 |
virtual bool | CreateSoundScape (ISoundScape *&pSoundScape)=0 |
virtual bool | InitSoundScape (std::string sSoundScapeName, ISoundScape *&pSoundScape)=0 |
virtual bool | IsSoundScapeRegistered (std::string sSoundScapeName)=0 |
virtual void | ResetSoundScapeItr ()=0 |
virtual bool | GetNextSoundScape (std::string &sSoundScapeName)=0 |
virtual bool | RemoveSoundScape (std::string sSoundScapeName)=0 |
virtual bool | RemoveAllSoundScapes ()=0 |
ISoundManager is responsible for managing high-level sound objects, including multiple-instance ISound and ISound3D objects, and ISoundScape objects. Definitions are loaded using a text-based script, and individual objects are instantiated using the string-based identifiers found in the scripts.
|
Gets a cached sound if one is available. If not, the function creates and returns a new sound object.
|
|
Gets a cached 3D sound if one is available. If not, the function creates and returns a new 3D sound object.
|
|
Retrieves a 3D sound initialization structure for a given sound script definition. This allows you to create 3D sounds indepenent of the sound caching mechanism while still using the script system.
|
|
Retrieves a sound initialization structure for a given sound script definition. This allows you to create sounds indepenent of the sound caching mechanism while still using the script system.
|
|
Initializes the sound manager. This must be called after the low-level audio manager has been initalized, and before any other sound manager calls are made, except for IsInitialized().
|
|
Determines if the sound manager is initialized.
|
|
Loads a sound script containing ISound, ISound3D, or ISoundScape definitions.
|
|
Removes all ISound, ISound3D, and ISoundscape definitions. In addition, all sound objects currently associated with ISound or ISound3D definitions will be removed.
|
|
Shuts down the sound manager. This should be called before the low-level audio manager is shut down. Any calls made to this interface after Term() is called will fail except for Init() and IsInitialized(), which simply reports status and cannot fail.
|